<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
		<script type="text/javascript">
			var MT = {};
			MT.BOOTSTAMP = new Date().getTime();
			MT.STATIC_ROOT = "";
			MT.HOST = "http://www.letao.com";
		</script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
		<link rel="stylesheet" href="${pageContext.request.contextPath}/css/bmap.css" />	
		<div class="map" id="map">
			<div class="top">
				<div class="banner">
					<div class="logo fl"><img src="${pageContext.request.contextPath}/images/letao.png" /></div>
				</div>
				<div class="address">
					<div class="result" id="GoodsCategory"></div>
					<div class="fl address-input clearfix">
						<div class="fl input-container clearfix">
							<input type="text" id="searchKeywords" placeholder="请输入您所在的地址" class="fl" />
							<a href="#" class="fl" id="search" onClick="setPlace()">淘周边</a>
						</div>
						
						<div class="fl history-address">
 							<a id="historyList" href="#" onClick="autoLocation()" class="borderradius-2">自动定位</a>
						</div>
					</div>
					<div class="fl address-select hidden">请选择地区</div>
				</div>
			 </div>
			
			<div class="result hidden" id="searchResultPanel">
				<div class="loading"></div>
			</div>
		
			<div class="container" id="bd-map"></div>
			
			<div class="map-tip">
				<a class="cross sprite" href="javascript:;"></a>
				<div class="map-mask transparent-30"></div>
				<span>点击地图直接定位</span>
			</div>
		
			
		
		</div>
		
		  
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/bmap.js"></script>
		<script>
			function loadJScript() {
				var script = document.createElement("script");
				script.type = "text/javascript";
				script.src = "http://api.map.baidu.com/api?v=1.4&callback=initMap";
				document.body.appendChild(script);
			}		
			window.onload=loadJScript;
		</script>	
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/SelectPanel.js"></script>
		<script type="text/javascript">
			//var test=new Vcity.CitySelector({input:'cityList'});  
		</script>